<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<title>系统用户-新增</title>
		<link rel="icon" href="assets/img/lcxm.ico" type="image/ico">
		<script type="text/javascript" src="../../commonFragment/header.js"></script>
		<link rel="stylesheet" type="text/css" href="../../assets/lib/zTree_v3/css/metroStyle/metroStyle.css" />
		<script src="../../assets/lib/zTree_v3/js/jquery.ztree.all.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="../../commonFragment/nojs.header.js"></script>
	</head>
	<body>
		<div class="container-fluid p-t-15">
			<div class="row">
				<div class="col-lg-12">
					<div class="card">
						<div class="card-body">
							<form class="form-horizontal validate" role="form vue-form" method="post" action="/system/dict/save"
							 data-form-url="/system/dict/detail">
								<!-- 隐藏域 -->
								<div class="form-group hide">
									<input type="text" name="id" :value="id" />
									<input type="text" id="pid" name="pid" :value="pid" />
								</div>
								
								<div class="form-group">
									<label for="name" class="col-sm-2 control-label">名称</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control" id="url" name="name" :value="name" 
										 placeholder="请输入字典名称" autocomplete="off" />
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group">
									<label for="code" class="col-sm-2 control-label">编码*</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control" id="code" name="code" :value="code" 
										 data-rule-repeat="/system/dict/check"
										 data-msg-repeat="code重复" data-rule-required="true" 
										 placeholder="请输入字典编码" autocomplete="off" />
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								
								

								<div class="form-group">
									<label for="remark" class="col-sm-2 control-label">备注</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control" id="remark" name="remark" :value="remark" placeholder="请输入字典备注">
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group">
									<label for="sort" class="col-sm-2 control-label">序号*</label>
									<div class="col-sm-6 ">
										<input type="number" class="form-control" id="sort" name="sort" :value="sort" data-rule-required="true"
										 data-rule-digits="true" data-rule-number="true" placeholder="请输入序号">
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group">
									<label for="enable" class="col-sm-2 control-label">状态*</label>
									<div class="col-sm-6 ">
										<select class="form-control" id="enable" name="enable" :data-value="enable" :value="enable"
										 data-rule-required="true">
											<option value="">--请选择--</option>
											<option value="false">禁用</option>
											<option value="true">启用</option>
										</select>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group clearfix">
									<div class="col-sm-offset-3 col-sm-9">
										<button type="button" class="btn btn-primary action-ajax-form">
											<i class="glyphicon glyphicon-ok"></i> 提交
										</button>
										<button type="button" class="btn btn-info action-close-tab">
											<i class="glyphicon glyphicon-repeat"></i> 返回
										</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
